const
  fo = '299.in';
var
  i, j, m, n : integer;

begin
  assign(output, fo); rewrite(output);
  n := 100;
  writeln(n);
  for i := 1 to n do
  begin
    m := random(11) + 10;
    write(random(9) + 1);
    for j := 1 to m-1 do write(random(10));
    writeln;
  end;
  close(output);
end.